package org.benjamin.lending.trusteeship.sumapay;

import org.benjamin.lending.domain.entity.BorrowInfo;
import org.benjamin.lending.domain.entity.MemberInfo;
import org.benjamin.lending.domain.entity.TrusteeshipRequest;

import java.util.Map;

/**
 * <p>个人用户存管账户还款（普通项目、协议投资项目）</p>
 * @author 黄文杰
 */
public class RepayOperation extends SumapayAbstractOperation {
    @Override
    protected void processRequest(Map<String, Object> requestMap, MemberInfo memberInfo, BorrowInfo borrowInfo, Map<String, Object> parameterMap) {
        requestMap.put("projectCode",borrowInfo.getNo());

    }

    @Override
    protected String signatureRequest(Map<String, Object> requestMap) {
        return null;
    }

    @Override
    protected void afterRequest(Map<String, Object> parameterMap, MemberInfo memberInfo, BorrowInfo borrowInfo, TrusteeshipRequest trusteeshipRequest) {

    }

    @Override
    protected String[] signatureResponse(Map<String, Object> responseMap) {
        return new String[0];
    }
}
